include(CMakeFindDependencyMacro)

find_dependency(QtProtobufProject COMPONENTS QtProtobuf REQUIRED CONFIG)

set(QT_PROTOBUF_NATIVE_GRPC_CHANNEL @QT_PROTOBUF_NATIVE_GRPC_CHANNEL@)
if(QT_PROTOBUF_NATIVE_GRPC_CHANNEL)
    include("${CMAKE_CURRENT_LIST_DIR}/gRPCLookup.cmake")
endif()

if(NOT TARGET @TARGET@ AND NOT @TARGET@_BINARY_DIR)
    include("${CMAKE_CURRENT_LIST_DIR}/@TARGET_EXPORT@.cmake")
endif()

if(QT_PROTOBUF_STATIC AND NOT TARGET @GRPC_QUICK_PLUGIN_NAME@ AND NOT @GRPC_QUICK_PLUGIN_NAME@_BINARY_DIR)
    include("${CMAKE_CURRENT_LIST_DIR}/@GRPC_QUICK_PLUGIN_NAME@Targets.cmake")
endif()

@PACKAGE_INIT@

